FROM openjdk:17

RUN mkdir -p /tiny-engine-app

WORKDIR /tiny-engine-app

EXPOSE 9090

ADD base/target/base-1.0-SNAPSHOT.jar ./app.jar

ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]

#CMD ["--spring.profiles.active=dev"]
